﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SDL;

namespace BusinessLogic
{
    public partial class UserInfo : DBObject
    {
        [DBField("id")]
        public string Id { get; set; }

        [DBField("login")]
        public string Login { get; set; }

        [DBField("password")]
        public string Password { get; set; }

        [DBField("is_admin")]
        public bool IsAdmin { get; set; }

        [DBField("last_activity")]
        public DateTime? LastActivity { get; set; }

        [DBField("session_id")]
        public string SessionId { get; set; }

        [DBField("ip")]
        public string IP { get; set; }
    }
}
